    //
//  UserPrompt.m
//  BetsAndBrains
//
//  Created by Augustine, Eric M (augus011) on 4/6/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "UserPrompt.h"


@implementation UserPrompt

- (id)initWithFrame:(CGRect)frame {
	if (self = [super initWithFrame:frame]) {
		[self setTitle:@"User Name"];
		[self setMessage:@"Enter a User Name"];
		UITextField* textField = [[UITextField alloc] initWithFrame: self.bounds];
		textField.borderStyle = UITextBorderStyleRoundedRect;
		[self addSubview:textField];
		[textField release];
		[self addButtonWithTitle:@"Ok"];
		[self addButtonWithTitle:@"Cancel"];
		[self setDelegate:self];
	}
	return self;
}

- (void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
	
}

- (void) drawRect:(CGRect)rect {
	[super drawRect:rect];
}

- (void) dealloc {
	[super dealloc];
}

@end
